package br.com.cast.scc.pages;

import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.protocol.http.WebApplication;
import org.apache.wicket.spring.injection.annot.SpringComponentInjector;

public class WicketApplication extends WebApplication {

	@Override
	public Class<? extends WebPage> getHomePage()
	{
		return BasePage.class;
	}

	@Override
	public void init()
	{
		super.init();
		
		getMarkupSettings()
			.setDefaultMarkupEncoding("utf-8");
		
		getComponentInstantiationListeners()
			.add(new SpringComponentInjector(this));
	}
}
